﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TSharp.Core.Authorization
{
    #region 注释
    /* ====================
     * 作者：wangyao
     * 创建时间：2013/5/24 8:36:49
     * ====================
     */
    #endregion
    /// <summary>
    /// 权限异常类
    /// </summary>
    [Serializable]
    public sealed class AuthorityException : Exception
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public AuthorityException()
        {
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        public AuthorityException(String msg)
            : base(msg)
        {
        }

        /// <summary>
        /// 构造函数
        /// </summary>
        public AuthorityException(Exception e)
            : base(null, e)
        {
        }
    }
}
